
/**
 * @vuese 设置本地存储
 * @param key 
 * @param val 
 * @returns 
 */
export const setLocalStorage = (key: string, val: any) => localStorage.setItem(key, JSON.stringify(val))

export const getLocalStorage = (key: string) => JSON.parse(localStorage.getItem(key))

export const removeLocalStorage = (key: string) => localStorage.removeItem(key)
